package archer.framework.security.token.filter;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

/**
 * @author christ
 * @date 2016/6/8
 */
public class AnonymousFilter extends AuthenticateFilter {

    @Override
    protected boolean skipAuthenticate(ServletRequest servletRequest, ServletResponse servletResponse) {

        // 标识当前请求已通过认证
        authenticated(servletRequest, servletResponse);

        return true;
    }
}
